package com.jic.point.model.vo.request;

import com.jic.order.manage.response.OrderResponse;
import com.jic.product.manage.response.ProductResponse;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@ApiModel(description = " 供应商结算台账表实体类")
public class SettSupplierBalanceRequest extends BaseEntityRequest{
	private static final long serialVersionUID = 1L;
    // @NotEmpty(message = "主键") 
    @ApiModelProperty(notes = "主键")
    private Long id;
    @ApiModelProperty(notes = "名称")
    private String name;

    // @NotEmpty(message = "供应商编码") 
    @ApiModelProperty(notes = "供应商编码")
    private String supplierCode;

    // @NotEmpty(message = "总积分") 
    @ApiModelProperty(notes = "总积分")
    private BigDecimal total;

    // @NotEmpty(message = "可兑换rmb的积分") 
    @ApiModelProperty(notes = "可兑换rmb的积分")
    private BigDecimal available;

    // @NotEmpty(message = "供应冻结了的积分") 
    @ApiModelProperty(notes = "供应冻结了的积分")
    private BigDecimal frozen;

    // @NotEmpty(message = "结算金额") 
    @ApiModelProperty(notes = "结算金额")
    private BigDecimal amount;

    // @NotEmpty(message = "描述") 
    @ApiModelProperty(notes = "描述")
    private String description;

    // @NotEmpty(message = "状态(1、待审核；2、已结算）") 
    @ApiModelProperty(notes = "状态(1、待审核；2、已结算）")
    private Integer sts;

    // @NotEmpty(message = "") 
    @ApiModelProperty(notes = "")
    private String intervalType;

    // @NotEmpty(message = "") 
    @ApiModelProperty(notes = "")
    private int intervalValue;

    @ApiModelProperty(notes = "开始日期")
    private Date startTime;

    @ApiModelProperty(notes = "结束日期")
    private Date endTime;
    @ApiModelProperty(notes = "开始日期")
    private Date settStartTime;

    @ApiModelProperty(notes = "结束日期")
    private Date settEndTime;

    private String type;
    private Long ids;
    /**
     * ------------------------用以结算
     */
    @ApiModelProperty(notes = "供应商联系方式")
    private String  mobile;
    @ApiModelProperty(notes = "供应商id")
    private Long  sid;
    @ApiModelProperty(notes = "供应商V码")
    private String  vCode;
    @ApiModelProperty(notes = "售出商品数量")
    private int  productNumber;
    @ApiModelProperty(notes = "订单数")
    private int  orderNumber;
    @ApiModelProperty(notes = "商品列表")
    private List<ProductResponse> productResponseList;
    @ApiModelProperty(notes = "订单列表")
    private List<OrderResponse>  orderResponseList;

}
